import {http} from '../common/http'
import type {IMonthDetail} from '../models/MonthModel'

export const loadHomeDataApi=(month:string):Promise<IMonthDetail>=>{
  return http.get<IMonthDetail>('/list',{month})
}